package com.suzhe.ymall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suzhe.ymall.common.pojo.ApiResEntity;
import com.suzhe.ymall.product.param.LockStockParam;
import com.suzhe.ymall.product.pojo.Sku;

/**
 * <p>
 * sku表 服务类
 * </p>
 *
 * @author suzhe
 * @since 2019-07-06
 */
public interface ISkuService extends IService<Sku> {

    ApiResEntity lockStock( LockStockParam lockStockParam);

    void rollbackOrder(String messageId,String orderNo);

    void orderSuccess(String messageId,String orderNo);

}
